home *** CD-ROM | disk | FTP | other *** search
- Path: news.uni-jena.de!news
- From: mkt@isun04.inf.uni-jena.de (Tilo Koerbs)
- Newsgroups: comp.lang.c++
- Subject: Re: Visible/Invisible Class definitions ?
- Date: 5 Feb 1996 10:02:31 GMT
- Organization: Lehrstuhl fuer Rechnerarchitektur- und kommunikation, FSU Jena
- Message-ID: <4f4kjn$ah0@fsuj01.rz.uni-jena.de>
- References: <4et0rg$22d@elna.ethz.ch>
- Reply-To: mkt@isun04.inf.uni-jena.de
- NNTP-Posting-Host: isun07.inf.uni-jena.de
-
- One cannot split a class into pieces. There are some technical reasons for this.
- But you can hide the member function definitions by defining it outside the class
- declaration.
- The reason it is sometimes really neccessary to know also of privat members is
- that C++ does not HIDE these when compiling, but it avoids ACCESS TO IT from outside
- the class members.
- So a user can get an error message like:
- member ... is not accessable ...
-
- To know why this happens it is neccessary to watch the complete class declaration!
-
- Bye.
- Tilo Koerbs, mkt@uni-jena.de
-
-
-
-